home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / EXT / A-E / Anim.Bomb INIT.cpt / Bomb INIT Folder / Bomb INIT.rsrc / TEXT_128_About CShowInit_proc.txt < prev    next >
Text File  |  1993-01-05  |  1KB  |  30 lines

  1. Color ShowINIT
  2. This translation by Ken McLeod (thecloud@dhw68k.cts.com)
  3. Modified by Anthony Saxton (elanay@aol.com)
  4. Version of Monday, December 21, 1992        8:37:24 PM
  5.  
  6. INIT notification routine by Paul Mercer, Darin Adler,
  7.             and Paul Snively from an idea by Steve Capps
  8. Version of : Friday, July 15, 1988 12:08:09 AM (1.1B1)
  9.       -revved back to previous calling interface.
  10.         -you only need to call ShowINIT now and due
  11.                     to popular demand, deltaX is back!
  12.         -also due to popular demand, color icons are
  13.                     now done automatically.
  14.         -note that the color icon is only used if 4
  15.                     bits or more is available on the main graphics
  16.                     device; ther normal ICN# is used for all other casses.
  17.  
  18. Use the following code within your INIT to load the 'proc' and
  19. call CShowINIT (in C):
  20.  
  21.         Handle        procH;
  22.         int                    shiftIcon;
  23.  
  24.         shiftIcon = -1;                /* -1=shift position, 0=don't shift */
  25.         if ((procH = GetResource('proc', PROC_ID)) != 0L)
  26.         {
  27.                 HLock(procH);
  28.                 CallPascal(ICON_ID, shiftIcon, *procH);
  29.                 HUnLock(procH);
  30.         }